#ifndef __MAIN_H__
#define __MAIN_H__

#include <windows.h>
#include "interf_dec.h"
#include "interf_enc.h"

/*  To use this exported function of dll, include this header
 *  in your project.
 */

#ifdef BUILD_DLL
    #define DLL_EXPORT __declspec(dllexport)
#else
    #define DLL_EXPORT __declspec(dllimport)
#endif


#ifdef __cplusplus
extern "C"
{
#endif

//void *DLL_EXPORT encode_init(int dtx);
//int DLL_EXPORT encode(void *st, enum Mode mode, short *speech, unsigned char *serial, int forceSpeech);
//void DLL_EXPORT encode_exit(void *st);

//void *DLL_EXPORT decode_init();
//void DLL_EXPORT decode(void *st, unsigned char *bits, short *synth, int bfi);
//void DLL_EXPORT decode_exit(void *st);

#ifdef __cplusplus
}
#endif

#endif // __MAIN_H__
